package com.itheima.pojo;

import java.util.List;

/**
 * @author 刘全
 * @date 2021/9/10
 */
public class Page<T>{

    private List<T> list;
    private int pageCount;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    @Override
    public String toString() {
        return "Page{" +
                "list=" + list +
                ", pageCount=" + pageCount +
                '}';
    }
}
